import struct
with open("hahaha.txt","rb") as f:
    line = f.read()
print(line)

h1,a= struct.unpack("H40s",line)

print(h1)
list_all = []
for i in range(10):
    b = struct.unpack("i",a[i*4:(i+1)*4])
    list_all.append(b[0])
print(list_all)